package com.android.dumiaogou.utils.update;

import java.io.Serializable;

/**
 * Created by Administrator on 2016/11/4.
 */

public class UpVersion implements Serializable {


    /**
     * version : 1.0
     * name : 1
     * content : 初始版本
     * down_url : http://pin.lnest.cc//upload/files/base/3/h/126.apk
     */

    private DataBean data;
    /**
     * data : {"version":"1.0","name":"1","content":"初始版本","down_url":"http://pin.lnest.cc//upload/files/base/3/h/126.apk"}
     * flag : true
     * code : 0
     * msg : 操作成功
     * time : 1478251897
     */

    private boolean flag;
    private int code;
    private String msg;
    private int time;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private String version;
        private String name;
        private String content;
        private String down_url;

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDown_url() {
            return down_url;
        }

        public void setDown_url(String down_url) {
            this.down_url = down_url;
        }
    }
}
